﻿using ChessWebService.DTO;
using ChessWebService.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;

namespace ChessWebService.Controllers
{
    public class TheNapCoinController : ApiController
    {
        //
        // GET: /api/thenapcoin?mathe=abc

        public TheNapCoin Get(string maThe)
        {
            TheNapCoinDAO theNapCoinDAO = new TheNapCoinDAO();

            return theNapCoinDAO.LayTheNapCoin(maThe);
        }

    }
}
